import Vue from 'vue'
import App from './App'

//注册全局js
import api from "assets/js/api.js"
Vue.prototype.$api = api
import com from "assets/js/com.js"
Vue.prototype.$com = com
import win from "assets/js/win.js"
Vue.prototype.$win = win
import dev from "assets/js/device.js"
Vue.prototype.$dev = dev
import log from "assets/js/log.js"
Vue.prototype.log = log

import mixin from 'mixin/mixin.js'
Vue.mixin(mixin)

// 小程序标题
import cuCustom from './colorui/components/cu-custom.vue' 
Vue.component('cu-custom',cuCustom)
Vue.component('miniHead',cuCustom)

//列表
import MescrollBody from "@/components/mescroll-uni/mescroll-body.vue"
import MescrollUni from "@/components/mescroll-uni/mescroll-uni.vue"
Vue.component('scroll', MescrollBody)
Vue.component('mescroll-uni', MescrollUni)

Vue.config.productionTip = false

// Vue.prototype.$loading = false
App.mpType = 'app'

const app = new Vue({
    ...App
})
app.$mount()

 



